package com.liming.common.pojo.dto.authinfo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author liming
 * @date 2025/2/12
 */
@Data
@Schema(description = "管理员新增Or更新DTO")
public class AdminAddOrUpdateDTO {

    @Schema(description = "管理员ID", example = "1", requiredMode = Schema.RequiredMode.AUTO)
    private Long id;

    @Schema(description = "管理员名称", example = "admin", requiredMode = Schema.RequiredMode.REQUIRED)
    private String username;

    @Schema(description = "管理员昵称", example = "管理员", requiredMode = Schema.RequiredMode.REQUIRED)
    private String nickname;

    @Schema(description = "管理员密码", example = "123456", requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;

    @Schema(description = "管理员手机号", example = "12345678901", requiredMode = Schema.RequiredMode.REQUIRED)
    private String phone;
}
